package com.testfileupload.uploadimg.design.simplefactory.chan.nvwa.simple;

import com.testfileupload.uploadimg.design.simplefactory.chan.nvwa.BlackHuman;

/**
 * 简单工厂模式(静态)
 */
public class SimpleNvWa {
    public static void main(String[] args) {
        BlackHuman human = SImpleHumanFactory.createHuman(BlackHuman.class);
        human.getColor();
        human.talk();
    }
}
